package com.share.spring;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * author:caifan
 * date:2019/5/12
 */
@Configuration
@EnableApolloConfig
public class AppConfig {

    @Bean
    public ConfigBean getConfig() {
        return new ConfigBean();
    }

}
